package Entities;

import java.sql.Date;

/**
 *
 * @author 647_2
 */
public class Album extends BaseEntity{

    // TODO Добавить конфиг

    private String name;
    private Date editionDate;

    public Album(){
        super();
        name = null;
        editionDate = null;
    }

    public Album(int ID, String name, Date editionDate){
        super(ID, "Сущность альбома");
        this.name = name;
        this.editionDate = editionDate;
    }

    public Album(String name, Date editionDate){
        super("Сущность альбома");
        this.name = name;
        this.editionDate = editionDate;
    }

    public Date get_editionDate() {
        return this.editionDate;
    }

    public void set_editionDate(Date editionDate) {
        this.editionDate = editionDate;
    }

    public String get_name() {
        return this.name;
    }

    public void set_name(String name) {
        this.name = name;
    }
}
